package domain

import "gorm.io/gorm"

type Article struct {
	gorm.Model
	Title   string
	Content string
	UserID  uint  //外键
	Tags    []Tag `gorm:"many2many:article_tags;"` // 对tag 多对多
}
